<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询课题列表</title>
</head>
<body>
<form  method="post">   <!-- action= "${pageContext.request.contextPath}/topics/queryTopic.action" -->
搜索：<input type="text" name="keystring"><br>
<input type="submit" name="查询"><br>
<table width="100%" border=1>
<tr>
	<td>课题编号</td>
	<td>教师编号</td>
	<td>课题名称</td>
	<td>操作</td>
</tr>
<c:forEach items="${topicList}" var="item">
<tr>
	<td>${item.topicId}</td>
	<td>${item.tId}</td>
	<td>${item.topicName}</td>
	<td><a href="${pageContext.request.contextPath}/topics/editTopic/$(item.topicId)">修改</a></td>
</tr>
</c:forEach>
</table>
</body>
</html>